package com.cwd.arm.infrastructure.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cwd.arm.infrastructure.po.UserPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 *
 * @author yan
 * @since 2021-11-08
 */
@Mapper
public interface UserMapper extends BaseMapper<UserPo> {

    Page<UserPo> selectPageWithRole(Page<UserPo> page, @Param(Constants.WRAPPER)Wrapper<UserPo> wrapper);
}
